import { post, get } from "@/utils/request";
const base = "/api/v1/user";

/**
 * 用户登录
 * @param {*} data
 * @returns
 */
export function login(data) {
  return post({
    url: base + "/login-test",
    data,
  });
}
/**
 * 获取用户身份信息
 */
export const getUserInfo = () => {
    return get({
      url: base + "/",
    });
  };
  
